package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 压力容器台账对象 omp_af_vessel
 *
 * @author Felix
 * @date 2021-10-11
 */
@Data
@ApiModel
public class AfVessel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
    @ApiModelProperty(value = "Id")
    private String id;

    /**
     * 容器名称
     */
    @Excel(name = "容器名称")
    @ApiModelProperty(value = "容器名称")
    private String vesselName;

    /**
     * 容器数量
     */
    @Excel(name = "容器数量")
    @ApiModelProperty(value = "容器数量")
    private Long vesselNum;

    /**
     * 所属企业
     */
    @Excel(name = "所属企业")
    @ApiModelProperty(value = "所属企业")
    private String vesselCompany;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /**
     * 设备厂家
     */
    @Excel(name = "设备厂家")
    @ApiModelProperty(value = "设备厂家")
    private String vesselFactory;

    /**
     * 容积
     */
    @Excel(name = "容积")
    @ApiModelProperty(value = "容积")
    private String vesselVolume;

    /**
     * 工作压力
     */
    @Excel(name = "工作压力")
    @ApiModelProperty(value = "工作压力")
    private String workPressure;

    /**
     * 设计压力
     */
    @Excel(name = "设计压力")
    @ApiModelProperty(value = "设计压力")
    private String designPressure;

    /**
     * 设计温度
     */
    @Excel(name = "设计温度")
    @ApiModelProperty(value = "设计温度")
    private String designTemp;

    /**
     * 主体检验时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "主体检验时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "主体检验时间")
    private Date subjectDate;

    /**
     * 仪表检验时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "仪表检验时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "仪表检验时间")
    private Date instrumentDate;

    /**
     * 安全阀检验时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安全阀检验时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "安全阀检验时间")
    private Date securityDate;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String state;

    /**
     * 删除标志
     */
    @ApiModelProperty(value = "删除标志")
    private String delFlag;

    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID")
    private String tenantId;

    /**
     * 园区编号
     */
    @Excel(name = "园区编号")
    @ApiModelProperty(value = "园区编号")
    private String parkNum;

    /**
     * 园区
     */
    @Excel(name = "园区")
    @ApiModelProperty(value = "园区")
    private String parkId;


}
